package com.manage.biz;

import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;
import com.manage.dao.resultSetDb;
import com.manage.domain.empInfor;

public class userListCreate {
 public List<empInfor> getUserList(String MGRID)throws Exception{
	 List<empInfor> list=new ArrayList<empInfor>();
	 resultSetDb rsdb=new resultSetDb();
	 ResultSet rs=rsdb.tsEmpList(MGRID);
	 while(rs.next()){
		 empInfor ei=new empInfor();
              ei.setEMPNAME(rs.getString("EMPNAME"));
              ei.setEMPID(rs.getString("EMPID"));
              list.add(ei);              
	 }
	 return list;
 }
}
